//
//  HomeMattersTitleCell.swift
//  QualityControlSystem
//
//  Created by dundun on 17/1/12.
//  Copyright © 2017年 com.mask. All rights reserved.
//

import UIKit

class HomeMattersTitleCell: UITableViewCell {

    @IBOutlet weak var mattersTitle: UILabel!
    @IBOutlet weak var mattersTime: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
        mattersTitle.textColor = Color.textMedium
        mattersTime.textColor = Color.textMedium
        
        let line = UIView()
        line.backgroundColor = Color.lineGray
        contentView.addSubview(line)

        line.snp.makeConstraints { (make) in
            make.left.equalTo(mattersTitle.snp.left)
            make.bottom.equalTo(contentView.snp.bottom)
            make.centerX.equalTo(contentView.snp.centerX)
            make.height.equalTo(1.0)
        }
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
